﻿using SmartConference.Api.DTO;
using SmartConference.Domain;
using SmartConference.ErrorCode;
using System.ComponentModel;

namespace SmartConference.Api.Applocations.IServices
{
    public interface IDepartmentServices
    {
        Task<ApiResult<IList<TreeDept>>> ShowDepartment(string? DepartmentName, int ParentId);
        Task<ApiResult> DeleteDept(int DepartmentId);
        Task<ApiResult<List<ItemMenu>>> GetDeptByParentId(int ParentId);
        Task<ApiResult> AddDept(AddDepartmentDTO departmentInfoDTO);
        Task<ApiResult> UpdateDept(DepartmentInfo departmentInfo);
        Task<ApiResult> UpdateDeptStatus(int DepartmentId,int status);

    }
}
